package com.xju.admin.service;

import com.xju.admin.entity.User;
import com.xju.admin.entity.UserResult;

import java.util.List;

public interface UserService {
    User findById(String id);
    void add(User user);
    User findByName(String name);
    User findByEmail(String email);
    void updateUser(User user);
    UserResult findAll();
    void delete(String id);
    void modify(String id,String name,String email,String password,String status,String profile);
    void addUser(String name,String status,String email,String pasword,String profile);
    void saveProfile(String id,String name,String password,String profile);
}
